<?php

use Illuminate\Routing\Router;

Admin::routes();

Route::group([
    'prefix'        => config('admin.route.prefix'),
    'namespace'     => config('admin.route.namespace'),
    'middleware'    => config('admin.route.middleware'),
], function (Router $router) {
    $router->get('test', function(){
        dump(get_guards());
        dump(get_guard());
        return ;
    });
    $router->get('/', 'HomeController@index')->name('admin.home');

});

include app_path("Admin/app.php");

